//
//  IGToSharePageApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/11.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGToSharePageApi.h"

@interface IGToSharePageApi()

@property (nonatomic, strong) NSString *macId;
    
@end

@implementation IGToSharePageApi

- (id)initWithMacId:(NSString *)macId {
    self = [super init];
    if (self) {
        _macId = macId;
    }
    return self;
}
    
- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}
    
- (NSString *)requestUrl {
    return @"equ/toSharePage";
}
    
- (id)requestArgument {
    return @{
             @"macId": _macId
             };
}
    
- (BOOL)isNeedHub {
    return NO;
}

@end

@implementation IGToSharePageModel : IGBaseModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
    
@end

@implementation IGToSharePageResp : IGBaseResp

@end
